package cn.wsalix.weixin.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.anlaser.form.CommonForm;
import cn.anlaser.service.impl.CommonServiceImpl;
import cn.anlaser.utils.SearchFilter;
import cn.wsalix.weixin.entity.BaseMsg;
import cn.wsalix.weixin.repository.BaseMsgRepository;
import cn.wsalix.weixin.service.BaseMsgService;

@Service("baseMsgService")
@Transactional(readOnly = true)
public class BaseMsgServiceImpl extends
		CommonServiceImpl<CommonForm,BaseMsgRepository, BaseMsg> implements BaseMsgService {

	@Autowired
	private BaseMsgRepository baseMsgRepository;

	@Override
	public BaseMsgRepository getRepository() {
		return baseMsgRepository;
	}

	@Override
	public String module() {
		return "baseMsg";
	}

	@Override
	public Map<String, SearchFilter> buildByForm(CommonForm form) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Class<BaseMsg> getEntityClazz() {
		// TODO Auto-generated method stub
		return null;
	}

}
